#include <php.h>
#include "setup.h"

// setup
PHP_FUNCTION(wiringPiSetup)
{
    long ret = wiringPiSetup();
    RETURN_LONG(ret);
}

PHP_FUNCTION(wiringPiSetupGpio)
{
    long ret = wiringPiSetupGpio();
    RETURN_LONG(ret);
}

PHP_FUNCTION(wiringPiSetupPhys)
{
    long ret = wiringPiSetupPhys();
    RETURN_LONG(ret);
}

PHP_FUNCTION(wiringPiSetupSys)
{
    long ret = wiringPiSetupSys();
    RETURN_LONG(ret);
}

//end setup
